import { increment } from '../mutations-type'

export default {
  namespaced: true,
  state: {
    count: 1
  },
  getters: {},
  mutations: {
    increment (state: { count: string | number; }, payload: string | number) {
      // @ts-ignore
      state.count += payload
    }
  },
  actions: {}
}
